//
//  LBDownloaderModel+Util.m
//  LBDownloader
//
//  Created by WuShiHai on 19/6/14.
//  Copyright (c) 2019 Lebbay All rights reserved.
//

#import "LBDownloaderModel+Util.h"

@implementation LBDownloaderModel (Util)

+ (NSString *)docPath{
    NSString *docPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
    return docPath;
}

+ (NSString *)downloadPath{
    NSString *path = [[self docPath] stringByAppendingPathComponent:@"download"];
    return path;
}

@end
